const mongoose =require('mongoose');
let personSchema=new mongoose.Schema({
    //建表

    name:String,
    age:Number
})
//封装到model里，具备增删改查的条件
module.exports=mongoose.model('Person',personSchema);
